package com.ahu.Repository;

import com.ahu.domain.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by qx on 2017/11/27.
 */
public interface UserInfoRepository extends JpaRepository<UserInfo, Integer> {
    /**
     * 通过学号来查询
     * @param number
     * @return
     */
    UserInfo findByNumber(String number);



}
